package com.zuipin.entity.product;

import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 整体评价表
 *
 * @ClassName OverallEvaluation
 * @author wangcongyi
 * @date 2017年7月4日 下午4:50:50
 */
@ApiModel(description = "整体评价")
public class OverallEvaluation {

	private Long id;						//整体评价ID

	private BigDecimal description;			//描述相符

	private BigDecimal logistics;			//物流服务

	private BigDecimal service;				//服务态度

	private Long sysId;						//系统ID

	private Short state;					//整体评价状态  默认0  0 待生效 1已生效

	private Long orderId;					//订单ID

	private Boolean delFlag;				//删除标志 0未删除 1已删除

	private Long createId;					//创建者

	private String createTime;				//创建时间

	private Long updateId;					//更新者

	private String updateTime;				//更新时间

	private Long count;						//评价人数  用于动态评分统计人数使用
	
	public final static Short NOT_ACTIVE = 0;
	public final static Short ACTIVE = 1;
	
	@ApiModelProperty(value = "整体评价ID(添加不传值)")
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@ApiModelProperty(value = "描述相符(添加必填值1-5)")
	public BigDecimal getDescription() {
		return description;
	}

	public void setDescription(BigDecimal description) {
		this.description = description;
	}

	@ApiModelProperty(value = "物流服务(添加必填值1-5)")
	public BigDecimal getLogistics() {
		return logistics;
	}

	public void setLogistics(BigDecimal logistics) {
		this.logistics = logistics;
	}

	@ApiModelProperty(value = "服务态度(添加必填值1-5)")
	public BigDecimal getService() {
		return service;
	}

	public void setService(BigDecimal service) {
		this.service = service;
	}

	@ApiModelProperty(value = "系统ID(添加必填值)")
	public Long getSysId() {
		return sysId;
	}

	public void setSysId(Long sysId) {
		this.sysId = sysId;
	}

	@ApiModelProperty(value = "整体评价状态  默认0 0 待生效 1已生效 (添加不传值)")
	public Short getState() {
		return state;
	}

	public void setState(Short state) {
		this.state = state;
	}

	@ApiModelProperty(value = "订单ID")
	public Long getOrderId() {
		return orderId;
	}

	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}

	@ApiModelProperty(value = "删除标志 0 未删除  1删除(添加不传值)")
	public Boolean getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(Boolean delFlag) {
		this.delFlag = delFlag;
	}

	@ApiModelProperty(value = "创建者(添加不传值)")
	public Long getCreateId() {
		return createId;
	}

	public void setCreateId(Long createId) {
		this.createId = createId;
	}

	@ApiModelProperty(value = "创建时间(添加不传值)")
	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime == null ? null : createTime.trim();
	}

	@ApiModelProperty(value = "更新者(添加不传值)")
	public Long getUpdateId() {
		return updateId;
	}

	public void setUpdateId(Long updateId) {
		this.updateId = updateId;
	}

	@ApiModelProperty(value = "更新时间(添加不传值)")
	public String getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime == null ? null : updateTime.trim();
	}

	@ApiModelProperty(value = "评价人数(添加不传值)")
	public Long getCount() {
		return count;
	}

	public void setCount(Long count) {
		this.count = count;
	}

}